package com.generalbackend.common.enums;

/**
 * @author tim.xie
 * @date 2021/11/26 10:12
 */
public enum  RequestMethodEnum {
    GET(1),
    HEAD(2),
    POST(3),
    PUT(4),
    PATCH(5),
    DELETE(6),
    OPTIONS(7),
    TRACE(8);

    private Integer code;
    RequestMethodEnum(Integer code){
        this.code = code;
    }
    public Integer getCode() {
        return code;
    }
}
